cerillion-ux

(0 reviews)

TMF 687 Stock Management

URL

https://{host}:{port}/cerillion-ux/v1/{businessId}/adjustProductStock

URI Params

nametypedescriptionrequired
businessIdstring2 letter ISO 3166 country code (TT, BB, JM, PA, etc.) identifying the business unit.Y

Headers

nametypedescriptionrequired
client_idstringThe client_id identifying the channel. Minimum characters: 5Y
client_secretstringPassword associated with the client_id. Minimum characters: 5Y
X-Correlation-IDstringIdentifier that correlates HTTP request between a client and server.
Any identification model (UUID, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction.
Y

Sample Request

{
  "completedAdjustProductStockDate": "2023-11-22T12:08:56.000-05:00",
  "description": "LCPR2.0 API TEST TP"
  "adjustProductStockItem": [
    {
      "id": "03",
      "adjustProductStockQuantity": {
        "amount": 1
      },
      "productStockTarget": {
        "id": "000000000000300645",
        "stockedProduct": {
          "productCharacterstic": [
            {
              "name": "CostCenter",
              "value": "0162010401"
            },
            {
              "name": "MovementType",
              "value": "291"
            },
            {
              "name": "GLAccount",
              "value": "234234"
            },
            {
              "name": "WBSElement",
              "value": "234234"
            }
          ],
          "place": [
            {
              "role": "Plant",
              "id": "7456"
            },
            {
              "role": "StorageLocation",
              "id": "123"
            }
          ]
        } }}]
}

Response

{
  "id":"2022",
  “description": "4900001465",
   "adjustProductStockItem": [
    {
      "id": "03",
      "adjustProductStockQuantity": {
        "amount": 1
      },
      "productStockTarget": {
        "id": "000000000000300645",
        "stockedProduct": {
          "productCharacterstic": [
            {
              "name": "CostCenter",
              "value": "0162010401"
            },
            {
              "name": "MovementType",
              "value": "291"
            },
            {
              "name": "GLAccount",
              "value": "234234"
            },
            {
              "name": "WBSElement",
              "value": "234234"
            }
          ],
          "place": [
            {
              "role": "Plant",
              "id": "7456"
            },
            {
              "role": "StorageLocation",
              "id": "123"
            }
          ]
        }
           }
    }
  ],
“state”: “accepted”
}

Key Considerations for LC CPE Capitalization in SAP

  1. completedAdjustProductStockDate accepts only "iso 8601 date time format with an offset to utc" format.
  2. ProductStockTarget.id accepts upto 18 alphanumeric characters
  3. Either WBSElement or costCenter should be sent for each BU
  4. WBSElement accepts upto 24 alphanumeric characters.
  5. Plant accepts upto 4 characters.

Reviews